public class J04Boolean {
    public static void main(String[] args) {
        boolean b1 = true;
        boolean b2 = false;

        System.out.println("b1 = " + b1);
        System.out.println("b2 = " + b2);

        /**
         * int i = 9;
         */
        /*
            比较
         */
//        boolean b3 = 3 == 4;//false
        boolean b3 = 3 == 3;//true
        System.out.println("b3 = " + b3);// ,

        System.out.println(4!=4);//false
        System.out.println(4!=6);//true
        System.out.println("========");
        System.out.println(4>2);//true
        System.out.println(4>9);//false
        System.out.println(4>=4);//true
    }
}
